package mainDataManager;

import com.jfinal.core.Controller;
/**
 * 工序管理类Controller
 * @author kk
 *
 */
public class GxManagerController extends Controller{
	//默认查询条数
	public static int pageNum = 10;
	//查询的字段 
	//工序编码
	public static String gxbm = "";
	//工序名称
	public static String gxmc = "";

	//默认查询所有工序信息
	public void index(){
		pageNum = 10;
		gxbm = "";
		gxmc = "";
		setAttr("list", GxManager.dao.getList());
		renderJson("list", GxManager.dao.getList());
		//render("/mainDataManager/gxgl.html");
	}
}
